package app.blog.service;

import app.blog.Vars;
import slap.mvc.scope.RenderModels;

public class ModelsInjectors {
	
	public static class Frontend {
		public static void inject(RenderModels models){
			models.put("is_single", false);
			models.put("is_page", false);
			models.put("is_home", true);
			models.put(Vars.Names.BLOG_URL, BlogInfos.blog_url());
			models.put(Vars.Names.BLOG_NAME, BlogInfos.blog_name());
			//models.put(Models.title());
			models.put(Vars.Names.PINGBACK_URL, BlogInfos.pingback_url());
			models.put(Vars.Names.ALL_PAGES, Pages.all_pages());
		}
	}
	
}
